//
//  OrderSectionFooterView.h
//  WuJieLive
//
//  Created by iMac on 2017/12/21.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyOrderDetailModel.h"

typedef void(^OrderDeleteBlock)(void);
typedef void(^OrderCommentBlock)(void);
typedef void(^OrderCheckBlock)(void);

typedef void(^OrderConfirGoodsBlock)(void);

typedef void(^OrderRebackBlock)(void);

typedef void(^OrderPayForBlock)(void);
typedef void(^OrderCancelBlock)(void);

@interface OrderSectionFooterView : UITableViewHeaderFooterView

@property (nonatomic , strong) UILabel * detailLabel;

// 待付款
@property (nonatomic , strong) UIButton * cancelOrderBtn;
@property (nonatomic , strong) UIButton * payForBtn;

// 待发货
@property (nonatomic , strong) UIButton * rebackMoneyBtn;

// 待收货
@property (nonatomic , strong) UIButton * checkBtn; // 查看物流
@property (nonatomic , strong) UIButton * confirmGoodsBtn;

// 待评价
@property (nonatomic , strong) UIButton * deleteBtn;
@property (nonatomic , strong) UIButton * commentBtn;
@property (nonatomic , strong) UIButton * lastCheckBtn; // 最后一选项的查看物流

@property (nonatomic , copy) OrderDeleteBlock deleteBlock;
@property (nonatomic , copy) OrderCommentBlock commentBlock;
@property (nonatomic , copy) OrderCheckBlock checkBlock;
@property (nonatomic , copy) OrderConfirGoodsBlock confirGoodsBlock;
@property (nonatomic , copy) OrderRebackBlock rebackBlock;
@property (nonatomic , copy) OrderPayForBlock payForBlock;
@property (nonatomic , copy) OrderCancelBlock cancelBlock;

-(void)bindDataWithModel:(MyOrderDetailModel *)model;

@end
